﻿Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.DungeonSchema

    Public Class dungeon

        Private intID As Integer
        Private strName As String
        Private intRelease As Integer
        Private bBoss As New List(Of boss)

        <XmlAttribute()> Public Property id() As Integer
            Get
                Return intID
            End Get
            Set(ByVal value As Integer)
                intID = value
            End Set
        End Property

        <XmlAttribute()> Public Property name() As String
            Get
                Return strName
            End Get
            Set(ByVal value As String)
                strName = value
            End Set
        End Property

        <XmlAttribute()> Public Property release() As Integer
            Get
                Return intRelease
            End Get
            Set(ByVal value As Integer)
                intRelease = value
            End Set
        End Property

        <XmlElement()> Public Property boss() As List(Of boss)
            Get
                Return bBoss
            End Get
            Set(ByVal value As List(Of boss))
                bBoss = value
            End Set
        End Property

    End Class

End Namespace